﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.DataVisualization.Charting;

public partial class tinnhantraloi : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }

    protected void Chart1_Load(object sender, EventArgs e)
    {

    }

    protected void dl_KieuBieuDo_SelectedIndexChanged(object sender, EventArgs e)
    {
        if(dl_KieuBieuDo.SelectedValue == "column")
            Chart1.Series["Series1"].ChartType = SeriesChartType.Column;
        else
            Chart1.Series["Series1"].ChartType = SeriesChartType.Line;
    }
}